#pragma once

#include "Shell.h"
#include "TelnetProtocolHandler.h"

class CTelnetShell
	: public CShell
	, public CTelnetProtocolHandler
{
public:
	CTelnetShell(void);
	~CTelnetShell(void);

protected:
	virtual void Write(unsigned char* dataBuffer, int dataCount);
	virtual void GetWindowSize(int& width, int& height);
	virtual const char* GetTerminalType();

	virtual void OnReceive(int nErrorCode);
	virtual void OnClose(int nErrorCode);
};

